import type { MealType } from '@/types/meal';
import { http } from '@/utils/http';

export const insertMealAPI = (meal: MealType) => {
  return http<MealType>({
    url: '/meals',
    method: 'POST',
    data: meal,
  });
};
